<!--- <cfexecute 
name='#replace(ExpandPath("/"),"\","/","ALL")#ffmpeg/ffmpeg.exe'  arguments='-i "s:/090918_042024 Vh1.mpg" -vcodec libx264  -r 20 -g 250 -keyint_min 25 -coder ac   -me_range 16 -subq 5 -sc_threshold 40 -acodec libfaac -ab 96000 -ar 22500 -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -i_qfactor 0.71 -b_strategy 1 -crf 30 -y "#replace(ExpandPath("/"),"\","/","ALL")#converted_video_file.mp4" ' outputFile = "C:/output.txt"
  ></cfexecute> --->
<cfquery  datasource="101tf2" name="getfile">

select  * from scan where scan.id ='#id#'

</cfquery>
<cfset fullname="#getfile.dir#\#getfile.dir#">
  <cfexecute 
name='#replace(ExpandPath("/"),"\","/","ALL")#ffmpeg/ffmpeg.exe'  arguments='-i "${input_file}" -acodec aac -ab 96 -maxrate 1000 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -vcodec h264 -b 256000 -mbd 2 -coder 1 -cmp 2 -subcmp 2  -title "#id#" "#replace(ConvertedVideo,"\","/","ALL")#/#id#.mp4"' outputFile = "C:/output.txt"
  ></cfexecute>
  
  ffmpeg -i "${input_file}" -acodec aac -ab 96 -maxrate 1000 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -vcodec h264 -b 256000 -mbd 2 -coder 1 -cmp 2 -subcmp 2 -s 320x240 -aspect 4:3 -title "${output_file_name}" "${output_dir}/${output_file_name}.mp4"